package com.canaan.business.domain.bill;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;
import com.canaan.common.annotation.TableName;
/**
 * 托盘对象 wms_tray
 *
 * @author canaan
 * @date 2025-03-30
 */
@ApiModel(description = "wms_tray")
@TableName("wms_tray")
public class Tray extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 托盘号 */
    @Excel(name = "托盘号")
    @ApiModelProperty("托盘号")
    private String trayNo;

    /** 库存状态 */
    @Excel(name = "库存状态")
    @ApiModelProperty("库存状态")
    private String stockStatus;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    @ApiModelProperty("仓库编号")
    private String stockCode;


    /** 货主 */
    @Excel(name = "货主")
    @ApiModelProperty("货主")
    private String owner;

    /** 批次号 */
    @Excel(name = "批次号")
    @ApiModelProperty("批次号")
    private String batchNo;

    /** 入库单据号 */
    @Excel(name = "入库单据号")
    @ApiModelProperty("入库单据号")
    private String inBillNo;

    /** 出库单据号 */
    @Excel(name = "出库单据号")
    @ApiModelProperty("出库单据号")
    private String outBillNo;

    /** 分拣单据号 */
    @Excel(name = "分拣单据号")
    @ApiModelProperty("分拣单据号")
    private String splitBillNo;
    /** ERP入库单据号 */
    @Excel(name = "ERP入库单据号")
    @ApiModelProperty("ERP入库单据号")
    private String erpInBillNo;


    /** ERP出库单据号 */
    @Excel(name = "ERP出库单据号")
    @ApiModelProperty("ERP出库单据号")
    private String erpOutBillNo;

    /** 是否删除：1是 0否 */
    @ApiModelProperty("出库单据号")
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTrayNo(String trayNo)
    {
        this.trayNo = trayNo;
    }

    public String getTrayNo()
    {
        return trayNo;
    }
    public void setStockStatus(String stockStatus)
    {
        this.stockStatus = stockStatus;
    }

    public String getStockStatus()
    {
        return stockStatus;
    }
    public void setBatchNo(String batchNo)
    {
        this.batchNo = batchNo;
    }

    public String getBatchNo()
    {
        return batchNo;
    }
    public void setInBillNo(String inBillNo)
    {
        this.inBillNo = inBillNo;
    }

    public String getInBillNo()
    {
        return inBillNo;
    }
    public void setOutBillNo(String outBillNo)
    {
        this.outBillNo = outBillNo;
    }

    public String getOutBillNo()
    {
        return outBillNo;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }


    public String getSplitBillNo() {
        return splitBillNo;
    }

    public void setSplitBillNo(String splitBillNo) {
        this.splitBillNo = splitBillNo;
    }

    public String getErpInBillNo() {
        return erpInBillNo;
    }

    public void setErpInBillNo(String erpInBillNo) {
        this.erpInBillNo = erpInBillNo;
    }

    public String getErpOutBillNo() {
        return erpOutBillNo;
    }

    public void setErpOutBillNo(String erpOutBillNo) {
        this.erpOutBillNo = erpOutBillNo;
    }


    public String getStockCode() {
        return stockCode;
    }

    public void setStockCode(String stockCode) {
        this.stockCode = stockCode;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("trayNo", getTrayNo())
            .append("stockStatus", getStockStatus())
            .append("batchNo", getBatchNo())
            .append("inBillNo", getInBillNo())
            .append("outBillNo", getOutBillNo())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
